
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module tests.test_api</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="tests.html"><font color="#ffffff">tests</font></a>.test_api</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="http://code.google.com/p/fgcp-client-api/source/browse/tests/test_api.py">test_api.py</a></font></td></tr></table>
    <p><tt>Test&nbsp;API&nbsp;Commands&nbsp;-&nbsp;please&nbsp;check&nbsp;the&nbsp;source&nbsp;code&nbsp;of&nbsp;this&nbsp;file&nbsp;to&nbsp;see&nbsp;how&nbsp;the&nbsp;API&nbsp;commands&nbsp;can&nbsp;be&nbsp;used<br>
&nbsp;<br>
The&nbsp;test&nbsp;functions&nbsp;are&nbsp;organised&nbsp;by&nbsp;logical&nbsp;"resource&nbsp;type",&nbsp;i.e.&nbsp;general,&nbsp;vsys,&nbsp;vserver,&nbsp;vdisk&nbsp;etc.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-fgcp_api_walker"><strong>fgcp_api_walker</strong></a>(key_file, region)</dt><dd><tt>Test&nbsp;API&nbsp;commands&nbsp;using&nbsp;test&nbsp;server&nbsp;(or&nbsp;generate&nbsp;.xml&nbsp;test&nbsp;fixtures&nbsp;using&nbsp;real&nbsp;API&nbsp;server)</tt></dd></dl>
 <dl><dt><a name="-test_addressrange"><strong>test_addressrange</strong></a>(proxy)</dt><dd><tt>Address&nbsp;Range&nbsp;(AddressRange)</tt></dd></dl>
 <dl><dt><a name="-test_api_command"><strong>test_api_command</strong></a>(key_file, region)</dt><dd><tt>FGCP&nbsp;Command</tt></dd></dl>
 <dl><dt><a name="-test_diskimage"><strong>test_diskimage</strong></a>(proxy, diskimageId)</dt><dd><tt>Disk&nbsp;Image&nbsp;(DiskImage)</tt></dd></dl>
 <dl><dt><a name="-test_diskimage_servertype"><strong>test_diskimage_servertype</strong></a>(proxy, diskimageId, servertypeName)</dt><dd><tt>Server&nbsp;Type&nbsp;(ServerType)</tt></dd></dl>
 <dl><dt><a name="-test_publicip"><strong>test_publicip</strong></a>(proxy, publicipAddress)</dt><dd><tt>Public&nbsp;IP&nbsp;(PublicIP)&nbsp;overall</tt></dd></dl>
 <dl><dt><a name="-test_vsys"><strong>test_vsys</strong></a>(proxy, vsysId)</dt><dd><tt>Virtual&nbsp;System&nbsp;(VSYS)</tt></dd></dl>
 <dl><dt><a name="-test_vsys_backup"><strong>test_vsys_backup</strong></a>(proxy, vsysId, backupId)</dt><dd><tt>Virtual&nbsp;Disk&nbsp;(VDisk)&nbsp;Backup</tt></dd></dl>
 <dl><dt><a name="-test_vsys_efm_backup"><strong>test_vsys_efm_backup</strong></a>(proxy, vsysId, efmId, backupId)</dt><dd><tt>Extended&nbsp;Function&nbsp;Module&nbsp;(EFM)&nbsp;Backup</tt></dd></dl>
 <dl><dt><a name="-test_vsys_efm_firewall"><strong>test_vsys_efm_firewall</strong></a>(proxy, vsysId, efmId)</dt><dd><tt>Extended&nbsp;Function&nbsp;Module&nbsp;(EFM)&nbsp;Firewall</tt></dd></dl>
 <dl><dt><a name="-test_vsys_efm_generic"><strong>test_vsys_efm_generic</strong></a>(proxy, vsysId, efmId)</dt><dd><tt>Extended&nbsp;Function&nbsp;Module&nbsp;(EFM)&nbsp;Generic</tt></dd></dl>
 <dl><dt><a name="-test_vsys_efm_loadbalancer"><strong>test_vsys_efm_loadbalancer</strong></a>(proxy, vsysId, efmId)</dt><dd><tt>Extended&nbsp;Function&nbsp;Module&nbsp;(EFM)&nbsp;LoadBalancer</tt></dd></dl>
 <dl><dt><a name="-test_vsys_publicip"><strong>test_vsys_publicip</strong></a>(proxy, vsysId, publicipAddress)</dt><dd><tt>Public&nbsp;IP&nbsp;(PublicIP)&nbsp;for&nbsp;this&nbsp;vsys</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vdisk"><strong>test_vsys_vdisk</strong></a>(proxy, vsysId, vdiskId)</dt><dd><tt>Virtual&nbsp;Disk&nbsp;(VDisk)</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vnet"><strong>test_vsys_vnet</strong></a>(proxy, vsysId, networkId)</dt><dd><tt>Virtual&nbsp;Network&nbsp;(VNet)</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vnet_console"><strong>test_vsys_vnet_console</strong></a>(proxy, vsysId, networkId)</dt><dd><tt>Other&nbsp;(SSL-VPN)</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vserver"><strong>test_vsys_vserver</strong></a>(proxy, vsysId, vserverId)</dt><dd><tt>Virtual&nbsp;Server&nbsp;(VServer)</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vserver_vdisk"><strong>test_vsys_vserver_vdisk</strong></a>(proxy, vsysId, vserverId, vdiskId)</dt><dd><tt>Virtual&nbsp;Disk&nbsp;(VDisk)&nbsp;attached&nbsp;to&nbsp;this&nbsp;server</tt></dd></dl>
 <dl><dt><a name="-test_vsys_vserver_vnic"><strong>test_vsys_vserver_vnic</strong></a>(proxy, vsysId, vserverId, networkId)</dt><dd><tt>Virtual&nbsp;Network&nbsp;Interface&nbsp;(VNIC)</tt></dd></dl>
 <dl><dt><a name="-test_vsysdescriptor"><strong>test_vsysdescriptor</strong></a>(proxy, vsysdescriptorId)</dt><dd><tt>Virtual&nbsp;System&nbsp;Descriptor&nbsp;(VSYSDescriptor)</tt></dd></dl>
</td></tr></table>
</body></html>